﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - Zuyd Kickstarter</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    <script src="@Url.Content("~/Scripts/tinymce/tinymce.js")" type="text/javascript"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
    <link rel='stylesheet' href='/Content/ProgressBar.css'>
    <script>
        $(function () {
            $(".meter > span").each(function () {
                $(this)
					.data("origWidth", $(this).width())
					.width(0)
					.animate({
					    width: $(this).data("origWidth")
					}, 1200);
            });
        });
    </script>

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"><img src="~/Content/logoZUYD.png" style="width: 20px; height: 20px;" /></span>
                    <span class="icon-bar"><img src="~/Content/logoZUYD.png" style="width: 20px; height: 20px;" /></span>
                    <span class="icon-bar"><img src="~/Content/logoZUYD.png" style="width: 20px; height: 20px;" /></span>
                </button>
                <img src="~/Content/logoZUYD.png" style="float: left; width: 25px; height: 25px; margin: 15px 15px 0 0;" />
                @Html.ActionLink("Zuyd Kickstarter", "Index", "Home", null, new { @class = "navbar-brand" })
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("Projecten", "Index", "Project")</li>
                </ul>
                <ul class="nav navbar-nav" style="float:right;">
                    <li>
                        @{
                            if (Session["gebruiker"] == null)
                            {
                                @Html.ActionLink("Registreer", "Create", "Gebruiker")
                                @Html.Raw("</li><li>");
                            @Html.ActionLink("Login", "Login", "Gebruiker");
                            }
                            else
                            {
                                @Html.ActionLink("Gebruiker", "Index", "Gebruiker")
                                @Html.Raw("</li><li>");
                                @Html.ActionLink("Uitloggen", "Uitloggen", "Gebruiker");
                            }
                        }
                    </li>
                </ul>
            </div>

            </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        
    </div>
    <footer style="bottom: 0px; position: fixed; background-color: #000000; border-top: 2px solid #dc143c; color:#fff0f5; height: 50px; width:100%; clear: both;">
        <div class="container body-content" style="padding:10px;">
            <p>&copy; @DateTime.Now.Year - Zuyd Kickstarter - Dave Bronckers, Robin Vinders, Ruben Pelzer, Jos Savelberg</p>
        </div>
    </footer>
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
